package com.piccolo.wrapper.client.component.JSNI;

import com.piccolo.wrapper.client.component.Overlay.PTextOverlay;

public class PTextJSNI 
{
	public native PTextOverlay create(String content, String style) 
	/*-{ return new $wnd.PText({text: content, fillStyle: style}); }-*/;

	public native void translate(PTextOverlay overlay, double x, double y) 
	/*-{ overlay.translate(x, y); }-*/;
}
